package com.zhehekeji.opsys.api.resp;

import java.io.Serializable;
import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

import com.zhehekeji.opsys.api.common.util.SuperResp;

/**
 * @ClassName GetPrizeListResp
 * @Description TODO
 * @author chenweiliu chenwei.liu@163.com
 * @date 2015-4-7   上午11:17:19
 */
@XmlRootElement
public class GetPrizeListResp extends SuperResp {

	/** 
	* @Fields serialVersionUID : TODO
	*/ 
	private static final long serialVersionUID = 5806694193503719341L;

	private List<PrizeInfo> tprizeList;
	
	public List<PrizeInfo> getTprizeList() {
		return tprizeList;
	}


	public void setTprizeList(List<PrizeInfo> tprizeList) {
		this.tprizeList = tprizeList;
	}

	@Override
	public String toString() {
		return "GetPrizeListResp [tprizeList=" + tprizeList
				+ ", getResultCode()=" + getResultCode() + ", getResultDesc()="
				+ getResultDesc() + "]";
	}


	public static class PrizeInfo implements Serializable{

		/** 
		* @Fields serialVersionUID : TODO
		*/ 
		private static final long serialVersionUID = 764181425738209602L;
		
		private String code;
		private String name;
		private Integer level;
		private Integer limitNum;
		private Integer number = 0;
		private Integer winningNum = 0;
		private Integer price;
		private Float odds;
		private String picture;
		private String imgAddress;
		
		public String getCode() {
			return code;
		}
		public void setCode(String code) {
			this.code = code;
		}
		public String getName() {
			return name;
		}
		public void setName(String name) {
			this.name = name;
		}
		public Integer getLevel() {
			return level;
		}
		public void setLevel(Integer level) {
			this.level = level;
		}
		public Integer getLimitNum() {
			return limitNum;
		}
		public void setLimitNum(Integer limitNum) {
			this.limitNum = limitNum;
		}
		public Integer getNumber() {
			return number;
		}
		public void setNumber(Integer number) {
			this.number = number;
		}
		public Integer getWinningNum() {
			return winningNum;
		}
		public void setWinningNum(Integer winningNum) {
			this.winningNum = winningNum;
		}
		public Integer getPrice() {
			return price;
		}
		public void setPrice(Integer price) {
			this.price = price;
		}
		public Float getOdds() {
			return odds;
		}
		public void setOdds(Float odds) {
			this.odds = odds;
		}
		public String getPicture() {
			return picture;
		}
		public void setPicture(String picture) {
			this.picture = picture;
		}
		@Override
		public String toString() {
			return "PrizeInfo [name=" + name + ", level=" + level + "]";
		}
		public String getImgAddress() {
			return imgAddress;
		}
		public void setImgAddress(String imgAddress) {
			this.imgAddress = imgAddress;
		}
		
	}
}
